package main

import (
	"fmt"
	"net/url"
)

func main() {
	s := url.PathEscape("https://golang.google.cn/pkg/net/url/#PathEscape")

	//https:%2F%2Fgolang.google.cn%2Fpkg%2Fnet%2Furl%2F%23PathEscape
	fmt.Println(s)
}
